/*
 * @Descripttion: 核酸宝项目前端
 * @version: 
 * @Author: 杜宇轩
 * @Date: 2022-05-11 21:42:49
 * @LastEditors: 杜宇轩
 * @LastEditTime: 2022-05-22 06:18:21
 */
const approver = {
  namespaced: true,
  state: {
    currentNotice: {}
  },

  getters: {
    getCurrentNotice: (state) => {
      return state.currentNotice;
    }
  },

  mutations: {
    SET_DATA: (state, payload) => { // 从localStorage同步
      state.currentNotice = payload.currentNotice;
    },
    setNotice: (state, payload) => {
      state.currentNotice = payload;
    }
  },

  actions: {
  }

};

export default approver;
